{extend name="../public/header" /}
{block name="body"}
<body>
{include file="../public/common" /}
<fieldset class="layui-elem-field site-demo-button" style="padding:10px;">
	<div class="layui-row">
		<!--  -->
		<form id="form1" class="layui-form layui-form-pane" action="{:url('info')}">
			<section class="panel panel-padding">
				<div class="layui-form-item">
					<label class="layui-form-label">名称</label>
					<div class="layui-input-inline">
						<input type="text" name="qyname" value="{$info.qyname}" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">等级</label>
					<div class="layui-input-inline">
						<input type="text" name="qylv" value="{$info.qylv}" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">任务等级</label>
					<div class="layui-input-inline">
						<input type="text" name="task_lv" value="{$info.task_lv}" class="layui-input" placeholder="地图任务等级范围：0-30">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">中心</label>
					<div class="layui-input-inline">
						<select name="mid">
							<option value="0">顶级栏目</option>
							{volist name='list' id='vo' key='k'}
							<option value="{$vo.mid}" {if condition="$vo.mid eq $info.mid"}selected{/if}>{$vo.mname}</option>
							{/volist}
						</select>
					</div>
				</div>

				<div class="layui-input-block">
					<input type="hidden" name="qyid" type="hidden" value="{$info.qyid|default=''}">
					<button class="layui-btn" lay-submit lay-filter="*">立即提交</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</section>
		</form>
		<!--  -->
	</div>
</fieldset>
</body>
{/block}
{block name="script"}
<script>
layui.use(['jquery','form','laydate','upload','element'], function(){
	var $ = layui.jquery
	,laydate = layui.laydate
	,upload = layui.upload
	,element = layui.element
	,form = layui.form;

	form.render();
});
</script>
{/block}